package com.code.mapper;

import com.code.commons.dao.CrudMapper;
import com.code.model.bo.ApiLog;
import com.code.model.bo.AppUpgradeBO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * api持久层映射接口
 *
 * @author tangyifei
 * @since 2019年12月21日12:10:19
 */
@Repository
public interface ApiMapper extends CrudMapper<ApiLog> {

    AppUpgradeBO getAPPVersionByAPPOs(@Param("appOs") String appOs);

    int updateAppUpgrade(AppUpgradeBO appUpgrade);

}
